  /**
   * Generate time : 2013-08-13 9:10:56
   * Version : 1.0.1.V20070717
   */
package com.baosight.sczx.zm.cb.domain;

import com.baosight.iplat4j.util.NumberUtils;
import com.baosight.iplat4j.core.ei.EiColumn;
import com.baosight.iplat4j.ep.DaoEPBase;
import java.util.HashMap;
import java.util.Map;
import com.baosight.iplat4j.util.StringUtils;
/**
 * ZMCBSimulateDetails 
 * table comment : 模拟计划明细表 
 */
public class ZMCBSimulateDetails extends DaoEPBase {

	private String fdKeyId = " ";		/* FD_KEY_ID*/
	private String fdForeignKey = " ";		/* 主键*/
	private String fdSerialNumber = " ";		/* 序号*/
	private String fdPlaceType = " ";		/* 地点类型*/
	private String fdPlaceId = " ";		/* 地点ID*/
	private String fdPlace = " ";		/* 地点*/
	private Double fdHeight = new Double(0);		/* 采高*/
	private Double fdBulk = new Double(0);		/* 容重*/
	private Double fdWidth = new Double(0);		/* 宽度*/
	private Double fdChance = new Double(0);		/* 回采率*/
	private String fdDepartmentId = " ";		/* 施工部门*/
	private String fdDepartment = " ";		/* 施工部门*/
	private Double fdPlan = new Double(0);		/* 计划量*/
	private Double fdLength = new Double(0);		/* 计划总推进*/
	private Double fdSurplus = new Double(0);		/* 剩余量*/
	private Double fdSurplusLength = new Double(0);		/* 剩余长度*/
	private String fdUnit = " ";		/* 任务量单位*/
	private Double fdMonthLength = new Double(0);		/* 月推进*/
	private Double fdSurplusReserve = new Double(0);		/* 月生产力*/
	private Double fdDuration = new Double(0);	/* 工期*/
	private String fdBeginDate = " ";		/* 开始时间*/
	private String fdEndDate = " ";		/* 结束时间*/
	private String fdFrontId = " ";		/* 前置任务*/
	private String fdFrontName = " ";		/* 前置任务*/
	private Double fdCompleted = new Double(0);		/* 已完成量*/
	private Double fdComPercent = new Double(0);		/* 已完成量%*/
	private String NumRate = " ";		/* 采掘个数比*/
	private String Rate = " ";		/* 掘进率*/
	private String Days = " ";		/* 掘进提前天数*/
	private Double KTSum = new Double(0);		/* 月推进*/
	private Double KTPlanSum = new Double(0);		/* 月推进*/
	private Double ZBSum = new Double(0);		/* 月推进*/
	private Double ZBPlanSum = new Double(0);		/* 月推进*/
	private Double WFSum = new Double(0);		/* 月推进*/
	private Double WFPlanSum = new Double(0);		/* 月推进*/
	
	
	/**
	 * initialize the metadata 
	 */
	public void initMetaData() {
		EiColumn eiColumn;
		
	eiColumn = new EiColumn("fdKeyId");
	eiColumn.setPrimaryKey(true);
	eiColumn.setFieldLength(32);	
	eiColumn.setDescName("FD_KEY_ID");
	eiMetadata.addMeta(eiColumn);
	
	eiColumn = new EiColumn("fdForeignKey");
	eiColumn.setFieldLength(32);	
	eiColumn.setDescName("主键");
	eiMetadata.addMeta(eiColumn);
	
	eiColumn = new EiColumn("KTSum");
	eiColumn.setType("N");
	eiColumn.setScaleLength(4);
	eiColumn.setFieldLength(12);
	eiColumn.setDescName("开拓量1");
	eiMetadata.addMeta(eiColumn);
	
	eiColumn = new EiColumn("KTPlanSum");
	eiColumn.setType("N");
	eiColumn.setScaleLength(4);
	eiColumn.setFieldLength(12);
	eiColumn.setDescName("开拓量2");
	eiMetadata.addMeta(eiColumn);
	
	eiColumn = new EiColumn("ZBSum");
	eiColumn.setType("N");
	eiColumn.setScaleLength(4);
	eiColumn.setFieldLength(12);
	eiColumn.setDescName("准备量1");
	eiMetadata.addMeta(eiColumn);
	
	eiColumn = new EiColumn("ZBPlanSum");
	eiColumn.setType("N");
	eiColumn.setScaleLength(4);
	eiColumn.setFieldLength(12);
	eiColumn.setDescName("准备量2");
	eiMetadata.addMeta(eiColumn);
	
	eiColumn = new EiColumn("WFSum");
	eiColumn.setType("N");
	eiColumn.setScaleLength(4);
	eiColumn.setFieldLength(12);
	eiColumn.setDescName("回采量1");
	eiMetadata.addMeta(eiColumn);
	
	eiColumn = new EiColumn("WFPlanSum");
	eiColumn.setType("N");
	eiColumn.setScaleLength(4);
	eiColumn.setFieldLength(12);
	eiColumn.setDescName("回采量2");
	eiMetadata.addMeta(eiColumn);
	
	
	
	eiColumn = new EiColumn("NumRate");
	eiColumn.setFieldLength(32);	
	eiColumn.setDescName("采掘个数比");
	eiMetadata.addMeta(eiColumn);
	
	eiColumn = new EiColumn("Rate");
	eiColumn.setFieldLength(32);	
	eiColumn.setDescName("掘进率");
	eiMetadata.addMeta(eiColumn);
	
	eiColumn = new EiColumn("Days");
	eiColumn.setFieldLength(32);	
	eiColumn.setDescName("掘进提前天数");
	eiMetadata.addMeta(eiColumn);
	
	eiColumn = new EiColumn("fdSerialNumber");
	eiColumn.setFieldLength(20);	
	eiColumn.setDescName("序号");
	eiMetadata.addMeta(eiColumn);
	
	eiColumn = new EiColumn("fdPlaceType");
	eiColumn.setFieldLength(4);	
	eiColumn.setDescName("地点类型");
	eiMetadata.addMeta(eiColumn);
	
	eiColumn = new EiColumn("fdPlaceId");
	eiColumn.setFieldLength(32);	
	eiColumn.setDescName("地点ID");
	eiMetadata.addMeta(eiColumn);
	
	eiColumn = new EiColumn("fdPlace");
	eiColumn.setFieldLength(100);	
	eiColumn.setDescName("地点");
	eiMetadata.addMeta(eiColumn);	
	
	eiColumn = new EiColumn("fdHeight");
	eiColumn.setType("N");
	eiColumn.setScaleLength(4);
	eiColumn.setFieldLength(12);
	eiColumn.setDescName("采高");
	eiMetadata.addMeta(eiColumn);
	
	eiColumn = new EiColumn("fdBulk");
	eiColumn.setType("N");
	eiColumn.setScaleLength(2);
	eiColumn.setFieldLength(8);
	eiColumn.setDescName("容重");
	eiMetadata.addMeta(eiColumn);
	
	eiColumn = new EiColumn("fdWidth");
	eiColumn.setType("N");
	eiColumn.setScaleLength(4);
	eiColumn.setFieldLength(12);
	eiColumn.setDescName("宽度");
	eiMetadata.addMeta(eiColumn);	
	
	eiColumn = new EiColumn("fdChance");
	eiColumn.setType("N");
	eiColumn.setScaleLength(2);
	eiColumn.setFieldLength(6);
	eiColumn.setDescName("回采率");
	eiMetadata.addMeta(eiColumn);
	
	eiColumn = new EiColumn("fdDepartmentId");
	eiColumn.setFieldLength(32);	
	eiColumn.setDescName("施工部门");
	eiMetadata.addMeta(eiColumn);
	
	eiColumn = new EiColumn("fdDepartment");
	eiColumn.setFieldLength(32);	
	eiColumn.setDescName("施工部门");
	eiMetadata.addMeta(eiColumn);
	
	eiColumn = new EiColumn("fdPlan");
	eiColumn.setType("N");
	eiColumn.setScaleLength(4);
	eiColumn.setFieldLength(12);
	eiColumn.setDescName("计划量");
	eiMetadata.addMeta(eiColumn);
	
	eiColumn = new EiColumn("fdLength");
	eiColumn.setType("N");
	eiColumn.setScaleLength(4);
	eiColumn.setFieldLength(12);
	eiColumn.setDescName("计划总推进");
	eiMetadata.addMeta(eiColumn);
	
	eiColumn = new EiColumn("fdSurplusLength");
	eiColumn.setType("N");
	eiColumn.setScaleLength(4);
	eiColumn.setFieldLength(12);
	eiColumn.setDescName("剩余长度");
	eiMetadata.addMeta(eiColumn);
	
	eiColumn = new EiColumn("fdSurplus");
	eiColumn.setType("N");
	eiColumn.setScaleLength(4);
	eiColumn.setFieldLength(12);
	eiColumn.setDescName("剩余量");
	eiMetadata.addMeta(eiColumn);
	
	eiColumn = new EiColumn("fdMonthLength");
	eiColumn.setType("N");
	eiColumn.setScaleLength(4);
	eiColumn.setFieldLength(12);
	eiColumn.setDescName("月推进");
	eiMetadata.addMeta(eiColumn);
	
	eiColumn = new EiColumn("fdUnit");
	eiColumn.setFieldLength(4);	
	eiColumn.setDescName("任务量单位");
	eiMetadata.addMeta(eiColumn);
	
	eiColumn = new EiColumn("fdSurplusReserve");
	eiColumn.setType("N");
	eiColumn.setScaleLength(4);
	eiColumn.setFieldLength(12);
	eiColumn.setDescName("月生产力");
	eiMetadata.addMeta(eiColumn);
	
	eiColumn = new EiColumn("fdDuration");
	eiColumn.setType("N");
	eiColumn.setScaleLength(1);
	eiColumn.setFieldLength(5);
	eiColumn.setDescName("工期");
	eiMetadata.addMeta(eiColumn);
	
	eiColumn = new EiColumn("fdBeginDate");
	eiColumn.setFieldLength(10);	
	eiColumn.setDescName("开始时间");
	eiMetadata.addMeta(eiColumn);
	
	eiColumn = new EiColumn("fdEndDate");
	eiColumn.setFieldLength(10);	
	eiColumn.setDescName("结束时间");
	eiMetadata.addMeta(eiColumn);
	
	eiColumn = new EiColumn("fdFrontId");
	eiColumn.setFieldLength(32);	
	eiColumn.setDescName("前置任务");
	eiMetadata.addMeta(eiColumn);
	
	eiColumn = new EiColumn("fdFrontName");
	eiColumn.setFieldLength(20);	
	eiColumn.setDescName("前置任务名称");
	eiMetadata.addMeta(eiColumn);
	
	eiColumn = new EiColumn("fdCompleted");
	eiColumn.setType("N");
	eiColumn.setScaleLength(4);
	eiColumn.setFieldLength(12);
	eiColumn.setDescName("已完成量");
	eiMetadata.addMeta(eiColumn);
	
	eiColumn = new EiColumn("fdComPercent");
	eiColumn.setType("N");
	eiColumn.setScaleLength(2);
	eiColumn.setFieldLength(5);
	eiColumn.setDescName("已完成量%");
	eiMetadata.addMeta(eiColumn);
	}
	/**
	 * the constructor
	 */
	public ZMCBSimulateDetails() {
		initMetaData();
	}
	
	/**
	 * get the fdKeyId - FD_KEY_ID
	 * @return the fdKeyId
	 */
	public String getFdKeyId() {
		return this.fdKeyId;
	}
	
	/**
	 * set the fdKeyId - FD_KEY_ID
	 */
	public void setFdKeyId(String fdKeyId) {
		this.fdKeyId = fdKeyId;
	}
	
	/**
	 * get the fdForeignKey - 主键
	 * @return the fdForeignKey
	 */
	public String getFdForeignKey() {
		return this.fdForeignKey;
	}
	
	/**
	 * set the fdForeignKey - 主键
	 */
	public void setFdForeignKey(String fdForeignKey) {
		this.fdForeignKey = fdForeignKey;
	}
	
	/**
	 * get the fdHeight - 回采量2
	 * @return the fdHeight
	 */
	public Double getWFPlanSum() {
		return this.WFPlanSum;
	}
	
	/**
	 * set the fdHeight - 回采量2
	 */
	public void setWFPlanSum(Double WFPlanSum) {
		this.WFPlanSum = WFPlanSum;
	}
	
	
	/**
	 * get the fdHeight - 回采量1
	 * @return the fdHeight
	 */
	public Double getWFSum() {
		return this.WFSum;
	}
	
	/**
	 * set the fdHeight - 回采量1
	 */
	public void setWFSum(Double WFSum) {
		this.WFSum = WFSum;
	}
	
	/**
	 * get the fdHeight - 准备量2
	 * @return the fdHeight
	 */
	public Double getZBPlanSum() {
		return this.ZBPlanSum;
	}
	
	/**
	 * set the fdHeight - 准备量2
	 */
	public void setZBPlanSum(Double ZBPlanSum) {
		this.ZBPlanSum = ZBPlanSum;
	}
	
	/**
	 * get the fdHeight - 准备量1
	 * @return the fdHeight
	 */
	public Double getZBSum() {
		return this.ZBSum;
	}
	
	/**
	 * set the fdHeight - 准备量1
	 */
	public void setZBSum(Double ZBSum) {
		this.ZBSum = ZBSum;
	}
	
	
	/**
	 * get the fdHeight - 开拓量2
	 * @return the fdHeight
	 */
	public Double getKTPlanSum() {
		return this.KTPlanSum;
	}
	
	/**
	 * set the fdHeight - 开拓量2
	 */
	public void setKTPlanSum(Double KTPlanSum) {
		this.KTPlanSum = KTPlanSum;
	}
	
	
	/**
	 * get the fdHeight - 开拓量1
	 * @return the fdHeight
	 */
	public Double getKTSum() {
		return this.KTSum;
	}
	
	/**
	 * set the fdHeight - 开拓量1
	 */
	public void setKTSum(Double KTSum) {
		this.KTSum = KTSum;
	}
	
	
	/**
	 * get the fdForeignKey - 采掘个数比
	 * @return the fdForeignKey
	 */
	public String getNumRate() {
		return this.NumRate;
	}
	
	/**
	 * set the fdForeignKey - 采掘个数比
	 */
	public void setNumRate(String NumRate) {
		this.NumRate = NumRate;
	}
	
	/**
	 * get the fdForeignKey - 掘进率
	 * @return the fdForeignKey
	 */
	public String getRate() {
		return this.Rate;
	}
	
	/**
	 * set the fdForeignKey - 掘进率
	 */
	public void setRate(String Rate) {
		this.Rate = Rate;
	}
	
	/**
	 * get the fdForeignKey - 主键
	 * @return the fdForeignKey
	 */
	public String getDays() {
		return this.Days;
	}
	
	/**
	 * set the fdForeignKey - 主键
	 */
	public void setDays(String Days) {
		this.Days = Days;
	}
	
	/**
	 * get the fdSerialNumber - 序号
	 * @return the fdSerialNumber
	 */
	public String getFdSerialNumber() {
		return this.fdSerialNumber;
	}
	
	/**
	 * set the fdSerialNumber - 序号
	 */
	public void setFdSerialNumber(String fdSerialNumber) {
		this.fdSerialNumber = fdSerialNumber;
	}
	
	/**
	 * get the fdPlaceType - 地点类型
	 * @return the fdPlaceType
	 */
	public String getFdPlaceType() {
		return this.fdPlaceType;
	}
	
	/**
	 * set the fdPlaceType - 地点类型
	 */
	public void setFdPlaceType(String fdPlaceType) {
		this.fdPlaceType = fdPlaceType;
	}
	
	/**
	 * get the fdPlaceId - 地点ID
	 * @return the fdPlaceId
	 */
	public String getFdPlaceId() {
		return this.fdPlaceId;
	}
	
	/**
	 * set the fdPlaceId - 地点ID
	 */
	public void setFdPlaceId(String fdPlaceId) {
		this.fdPlaceId = fdPlaceId;
	}
	
	/**
	 * get the fdPlace - 地点
	 * @return the fdPlace
	 */
	public String getFdPlace() {
		return this.fdPlace;
	}
	
	/**
	 * set the fdPlaceId - 地点ID
	 */
	public void setFdPlace(String fdPlace) {
		this.fdPlace = fdPlace;
	}
	
	/**
	 * get the fdHeight - 采高
	 * @return the fdHeight
	 */
	public Double getFdHeight() {
		return this.fdHeight;
	}
	
	/**
	 * set the fdHeight - 采高
	 */
	public void setFdHeight(Double fdHeight) {
		this.fdHeight = fdHeight;
	}
	
	/**
	 * get the fdBulk - 容重
	 * @return the fdBulk
	 */
	public Double getFdBulk() {
		return this.fdBulk;
	}
	
	/**
	 * set the fdBulk - 容重
	 */
	public void setFdBulk(Double fdBulk) {
		this.fdBulk = fdBulk;
	}
	
	/**
	 * get the fdWidth - 宽度
	 * @return the fdWidth
	 */
	public Double getFdWidth() {
		return this.fdWidth;
	}
	
	/**
	 * set the fdWidth - 宽度
	 */
	public void setFdWidth(Double fdWidth) {
		this.fdWidth = fdWidth;
	}
	

	/**
	 * get the fdChance - 回采率
	 * @return the fdChance
	 */
	public Double getFdChance() {
		return this.fdChance;
	}
	
	/**
	 * set the fdChance - 回采率
	 */
	public void setFdChance(Double fdChance) {
		this.fdChance = fdChance;
	}
	
	
	/**
	 * get the fdDepartmentId - 施工部门
	 * @return the fdDepartmentId
	 */
	public String getFdDepartmentId() {
		return this.fdDepartmentId;
	}
	
	/**
	 * set the fdDepartmentId - 施工部门
	 */
	public void setFdDepartmentId(String fdDepartmentId) {
		this.fdDepartmentId = fdDepartmentId;
	}
	
	/**
	 * get the fdDepartment - 施工部门
	 * @return the fdDepartment
	 */
	public String getFdDepartment() {
		return this.fdDepartment;
	}
	
	/**
	 * set the fdDepartmentId - 施工部门
	 */
	public void setFdDepartment(String fdDepartment) {
		this.fdDepartment = fdDepartment;
	}
	
	/**
	 * get the fdPlan - 计划量
	 * @return the fdPlan
	 */
	public Double getFdPlan() {
		return this.fdPlan;
	}
	
	/**
	 * set the fdPlan - 任务量
	 */
	public void setFdPlan(Double fdPlan) {
		this.fdPlan = fdPlan;
	}
	
	/**
	 * get the fdSurplusLength - 剩余长度
	 * @return the fdSurplusLength
	 */
	public Double getFdSurplusLength() {
		return this.fdSurplusLength;
	}
	
	/**
	 * set the fdSurplusLength - 剩余长度
	 */
	public void setFdSurplusLength(Double fdSurplusLength) {
		this.fdSurplusLength = fdSurplusLength;
	}
	
	/**
	 * get the fdSurplus - 剩余量
	 * @return the fdSurplus
	 */
	public Double getFdSurplus() {
		return this.fdSurplus;
	}
	
	/**
	 * set the fdSurplusLength - 剩余量
	 */
	public void setFdSurplus(Double fdSurplus) {
		this.fdSurplus = fdSurplus;
	}
	
	/**
	 * get the fdMonthLength - 月推进
	 * @return the fdMonthLength
	 */
	public Double getFdMonthLength() {
		return this.fdMonthLength;
	}
	
	/**
	 * set the fdLength - 计划推进
	 */
	public void setFdLength(Double fdLength) {
		this.fdLength = fdLength;
	}
	
	/**
	 * get the fdLength - 计划推进
	 * @return the fdLength
	 */
	public Double getFdLength() {
		return this.fdLength;
	}
	
	/**
	 * set the fdMonthLength - 月推进
	 */
	public void setFdMonthLength(Double fdMonthLength) {
		this.fdMonthLength = fdMonthLength;
	}
	
	/**
	 * get the fdUnit - 任务量单位
	 * @return the fdUnit
	 */
	public String getFdUnit() {
		return this.fdUnit;
	}
	
	/**
	 * set the fdUnit - 任务量单位
	 */
	public void setFdUnit(String fdUnit) {
		this.fdUnit = fdUnit;
	}
	
	/**
	 * get the fdSurplusReserve - 月生产力
	 * @return the fdSurplusReserve
	 */
	public Double getFdSurplusReserve() {
		return this.fdSurplusReserve;
	}
	
	/**
	 * set the fdSurplusReserve - 月生产力
	 */
	public void setFdSurplusReserve(Double fdSurplusReserve) {
		this.fdSurplusReserve = fdSurplusReserve;
	}
	
	/**
	 * get the fdDuration - 工期
	 * @return the fdDuration
	 */
	public Double getFdDuration() {
		return this.fdDuration;
	}
	
	/**
	 * set the fdDuration - 工期
	 */
	public void setFdDuration(Double fdDuration) {
		this.fdDuration = fdDuration;
	}
	
	/**
	 * get the fdBeginDate - 开始时间
	 * @return the fdBeginDate
	 */
	public String getFdBeginDate() {
		return this.fdBeginDate;
	}
	
	/**
	 * set the fdBeginDate - 开始时间
	 */
	public void setFdBeginDate(String fdBeginDate) {
		this.fdBeginDate = fdBeginDate;
	}
	
	/**
	 * get the fdEndDate - 结束时间
	 * @return the fdEndDate
	 */
	public String getFdEndDate() {
		return this.fdEndDate;
	}
	
	/**
	 * set the fdEndDate - 结束时间
	 */
	public void setFdEndDate(String fdEndDate) {
		this.fdEndDate = fdEndDate;
	}
	
	/**
	 * get the fdFrontId - 前置任务
	 * @return the fdFrontId
	 */
	public String getFdFrontId() {
		return this.fdFrontId;
	}
	
	/**
	 * set the fdFrontId - 前置任务
	 */
	public void setFdFrontId(String fdFrontId) {
		this.fdFrontId = fdFrontId;
	}
	
	/**
	 * get the fdFrontName - 前置任务
	 * @return the fdFrontId
	 */
	public String getFdFrontName() {
		return this.fdFrontName;
	}
	
	/**
	 * set the fdFrontName - 前置任务
	 */
	public void setFdFrontName(String fdFrontName) {
		this.fdFrontName = fdFrontName;
	}
	
	/**
	 * get the fdCompleted - 已完成量
	 * @return the fdCompleted
	 */
	public Double getFdCompleted() {
		return this.fdCompleted;
	}
	
	/**
	 * set the fdCompleted - 已完成量
	 */
	public void setFdCompleted(Double fdCompleted) {
		this.fdCompleted = fdCompleted;
	}
	
		/**
	 * get the fdComPercent - 已完成量%
	 * @return the fdComPercent
	 */
	public Double getFdComPercent() {
		return this.fdComPercent;
	}
	
	/**
	 * set the fdComPercent - 已完成量%
	 */
	public void setFdComPercent(Double fdComPercent) {
		this.fdComPercent = fdComPercent;
	}
	/**
	 * get the value from Map
	 */
	
	public void fromMap(Map map) {
	
		setFdKeyId(StringUtils.defaultIfEmpty(StringUtils.toString(map.get("fdKeyId")), fdKeyId));
		setFdForeignKey(StringUtils.defaultIfEmpty(StringUtils.toString(map.get("fdForeignKey")), fdForeignKey));
		setFdSerialNumber(StringUtils.defaultIfEmpty(StringUtils.toString(map.get("fdSerialNumber")), fdSerialNumber));
		setFdPlaceType(StringUtils.defaultIfEmpty(StringUtils.toString(map.get("fdPlaceType")), fdPlaceType));
		setFdPlaceId(StringUtils.defaultIfEmpty(StringUtils.toString(map.get("fdPlaceId")), fdPlaceId));
		setFdPlace(StringUtils.defaultIfEmpty(StringUtils.toString(map.get("fdPlace")), fdPlace));
		setFdHeight(NumberUtils.toDouble(StringUtils.toString(map.get("fdHeight")), fdHeight));
		setFdBulk(NumberUtils.toDouble(StringUtils.toString(map.get("fdBulk")), fdBulk));
		setFdWidth(NumberUtils.toDouble(StringUtils.toString(map.get("fdWidth")), fdWidth));
		setFdChance(NumberUtils.toDouble(StringUtils.toString(map.get("fdChance")), fdChance));
		
		setFdDepartmentId(StringUtils.defaultIfEmpty(StringUtils.toString(map.get("fdDepartmentId")), fdDepartmentId));
		setFdDepartment(StringUtils.defaultIfEmpty(StringUtils.toString(map.get("fdDepartment")), fdDepartment));
		setFdPlan(NumberUtils.toDouble(StringUtils.toString(map.get("fdPlan")), fdPlan));
		setFdLength(NumberUtils.toDouble(StringUtils.toString(map.get("fdLength")), fdLength));
		setFdSurplus(NumberUtils.toDouble(StringUtils.toString(map.get("fdSurplus")), fdSurplus));
		setFdSurplusLength(NumberUtils.toDouble(StringUtils.toString(map.get("fdSurplusLength")), fdSurplusLength));
		setFdUnit(StringUtils.defaultIfEmpty(StringUtils.toString(map.get("fdUnit")), fdUnit));
		setFdMonthLength(NumberUtils.toDouble(StringUtils.toString(map.get("fdMonthLength")), fdMonthLength));
		setFdSurplusReserve(NumberUtils.toDouble(StringUtils.toString(map.get("fdSurplusReserve")), fdSurplusReserve));
		setFdDuration(NumberUtils.toDouble(StringUtils.toString(map.get("fdDuration")), fdDuration));
		setFdBeginDate(StringUtils.defaultIfEmpty(StringUtils.toString(map.get("fdBeginDate")), fdBeginDate));
		setFdEndDate(StringUtils.defaultIfEmpty(StringUtils.toString(map.get("fdEndDate")), fdEndDate));
		setFdFrontId(StringUtils.defaultIfEmpty(StringUtils.toString(map.get("fdFrontId")), fdFrontId));
		setFdFrontName(StringUtils.defaultIfEmpty(StringUtils.toString(map.get("fdFrontName")), fdFrontName));
		setNumRate(StringUtils.defaultIfEmpty(StringUtils.toString(map.get("NumRate")), NumRate));
		setRate(StringUtils.defaultIfEmpty(StringUtils.toString(map.get("Rate")), Rate));
		setDays(StringUtils.defaultIfEmpty(StringUtils.toString(map.get("Days")), Days));
		setFdCompleted(NumberUtils.toDouble(StringUtils.toString(map.get("fdCompleted")), fdCompleted));
		setKTSum(NumberUtils.toDouble(StringUtils.toString(map.get("KTSum")), KTSum));
		setKTPlanSum(NumberUtils.toDouble(StringUtils.toString(map.get("KTPlanSum")), KTPlanSum));
		setZBSum(NumberUtils.toDouble(StringUtils.toString(map.get("ZBSum")), ZBSum));
		setZBPlanSum(NumberUtils.toDouble(StringUtils.toString(map.get("ZBPlanSum")), ZBPlanSum));
		setWFSum(NumberUtils.toDouble(StringUtils.toString(map.get("WFSum")), WFSum));
		setWFPlanSum(NumberUtils.toDouble(StringUtils.toString(map.get("WFPlanSum")), WFPlanSum));
		setFdComPercent(NumberUtils.toDouble(StringUtils.toString(map.get("fdComPercent")), fdComPercent));
	}
	
	/**
	 * set the value to Map
	 */
	public Map toMap() {
		
		Map map = new HashMap();
			map.put("fdKeyId",StringUtils.toString(fdKeyId, eiMetadata.getMeta("fdKeyId")));	
			map.put("fdForeignKey",StringUtils.toString(fdForeignKey, eiMetadata.getMeta("fdForeignKey")));	
			map.put("fdSerialNumber",StringUtils.toString(fdSerialNumber, eiMetadata.getMeta("fdSerialNumber")));	
			map.put("fdPlaceType",StringUtils.toString(fdPlaceType, eiMetadata.getMeta("fdPlaceType")));	
			map.put("fdPlaceId",StringUtils.toString(fdPlaceId, eiMetadata.getMeta("fdPlaceId")));	
			map.put("fdPlace",StringUtils.toString(fdPlace, eiMetadata.getMeta("fdPlace")));
			map.put("fdHeight",StringUtils.toString(fdHeight, eiMetadata.getMeta("fdHeight")));	
			map.put("fdBulk",StringUtils.toString(fdBulk, eiMetadata.getMeta("fdBulk")));	
			map.put("fdWidth",StringUtils.toString(fdWidth, eiMetadata.getMeta("fdWidth")));
			map.put("fdChance",StringUtils.toString(fdChance, eiMetadata.getMeta("fdChance")));	
			
			map.put("fdDepartmentId",StringUtils.toString(fdDepartmentId, eiMetadata.getMeta("fdDepartmentId")));	
			map.put("fdDepartment",StringUtils.toString(fdDepartment, eiMetadata.getMeta("fdDepartment")));	
			map.put("fdPlan",StringUtils.toString(fdPlan, eiMetadata.getMeta("fdPlan")));
			map.put("fdLength",StringUtils.toString(fdLength, eiMetadata.getMeta("fdLength")));
			map.put("fdSurplus",StringUtils.toString(fdSurplus, eiMetadata.getMeta("fdSurplus")));
			map.put("fdSurplusLength",StringUtils.toString(fdSurplusLength, eiMetadata.getMeta("fdSurplusLength")));
			map.put("fdMonthLength",StringUtils.toString(fdMonthLength, eiMetadata.getMeta("fdMonthLength")));	
			map.put("fdUnit",StringUtils.toString(fdUnit, eiMetadata.getMeta("fdUnit")));	
			map.put("fdSurplusReserve",StringUtils.toString(fdSurplusReserve, eiMetadata.getMeta("fdSurplusReserve")));	
			map.put("fdDuration",StringUtils.toString(fdDuration, eiMetadata.getMeta("fdDuration")));	
			map.put("fdBeginDate",StringUtils.toString(fdBeginDate, eiMetadata.getMeta("fdBeginDate")));	
			map.put("fdEndDate",StringUtils.toString(fdEndDate, eiMetadata.getMeta("fdEndDate")));	
			map.put("fdFrontId",StringUtils.toString(fdFrontId, eiMetadata.getMeta("fdFrontId")));	
			map.put("fdFrontName",StringUtils.toString(fdFrontName, eiMetadata.getMeta("fdFrontName")));
			map.put("NumRate",StringUtils.toString(NumRate, eiMetadata.getMeta("NumRate")));	
			map.put("Rate",StringUtils.toString(Rate, eiMetadata.getMeta("Rate")));	
			map.put("Days",StringUtils.toString(Days, eiMetadata.getMeta("Days")));
			map.put("fdCompleted",StringUtils.toString(fdCompleted, eiMetadata.getMeta("fdCompleted")));	
			map.put("fdComPercent",StringUtils.toString(fdComPercent, eiMetadata.getMeta("fdComPercent")));	
			map.put("KTSum",StringUtils.toString(KTSum, eiMetadata.getMeta("KTSum")));	
			map.put("KTPlanSum",StringUtils.toString(KTPlanSum, eiMetadata.getMeta("KTPlanSum")));	
			map.put("ZBSum",StringUtils.toString(ZBSum, eiMetadata.getMeta("ZBSum")));	
			map.put("ZBPlanSum",StringUtils.toString(ZBPlanSum, eiMetadata.getMeta("ZBPlanSum")));	
			map.put("WFSum",StringUtils.toString(WFSum, eiMetadata.getMeta("WFSum")));	
			map.put("WFPlanSum",StringUtils.toString(WFPlanSum, eiMetadata.getMeta("WFPlanSum")));	
			
		return map;
	
	}
}